inspector: clean up better when objects go away
authorMatthias Clasen <mclasen@redhat.com>
Sat, 10 May 2014 16:26:22 +0000 (12:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 May 2014 02:04:35 +0000 (22:04 -0400)
commita0cae6957efad4ef0f04a0b96757382f3adca3a5
treec9b07d0c3176a0bde8bf7a8cf3d38b2c517e0dae
parentcb85a1fa3abfa4e9231aef6151bcf04419884559
inspector: clean up better when objects go away

Instead of manually doing it everywhere, just call set_object (NULL)
from the selection_changed handler. Fix all the set_object() functions
to deal with NULL.
modules/inspector/object-hierarchy.c
modules/inspector/window.c